package com.tree.backend.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tree.backend.common.Result;
import com.tree.backend.entity.dto.PowerZoneDTO;
import com.tree.backend.entity.pojo.PowerZone;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tree.backend.entity.vo.PowerZoneVO;

/**
 * <p>
 * 电力区域信息表 服务类
 * </p>
 *
 * @author tree
 * @since 2025-11-09
 */
import java.util.Map;

public interface IPowerZoneService extends IService<PowerZone> {

    Result<Page<PowerZoneVO>> getList(PowerZoneDTO powerZoneDTO);
    
    /**
     * 获取区域ID和名称的映射
     * @return 区域ID和名称的Map
     */
    Result<Map<Integer, String>> getIdNameMap();
}
